package ui;

/**
 * Options du projet, pour l'affichage à l'écran
 * 
 * @author sebastien
 */
public class ProjectOptions {

	// Fields
	private boolean showKeplerOvoid;
	private boolean showOrbitalPlanets;
	private boolean showSphere;
	private boolean showEllipsoid;
	private boolean showSuperFormula;
	private boolean showPlanets;

	// Constructors
	public ProjectOptions() {
		this.showKeplerOvoid = false;
		this.showEllipsoid = false;
		this.showOrbitalPlanets = false;
		this.showSphere = false;
		this.showSuperFormula = false;
		this.showPlanets = false;
	}

	// Methods
	public void showNothing() {
		showKeplerOvoid = false;
		showOrbitalPlanets = false;
		showSphere = false;
		showEllipsoid = false;
		showSuperFormula = false;
		showPlanets = false;
	}

	// Accessors
	public boolean isShowKeplerOvoid() {
		return showKeplerOvoid;
	}

	public boolean isShowOrbitalPlanets() {
		return showOrbitalPlanets;
	}

	public boolean isShowSphere() {
		return showSphere;
	}

	public boolean isShowEllipsoid() {
		return showEllipsoid;
	}

	public boolean isShowSuperFormula() {
		return showSuperFormula;
	}

	public boolean isShowPlanets() {
		return showPlanets;
	}

	public void setShowSphere(boolean showSphere) {
		this.showSphere = showSphere;
	}

	public void setShowKeplerOvoid(boolean showKeplerOvoid) {
		this.showKeplerOvoid = showKeplerOvoid;
	}

	public void setShowOrbitalPlanets(boolean showOrbitalPlanets) {
		this.showOrbitalPlanets = showOrbitalPlanets;
	}

	public void setShowEllipsoid(boolean showEllipsoid) {
		this.showEllipsoid = showEllipsoid;
	}

	public void setShowSuperFormula(boolean showSuperFormula) {
		this.showSuperFormula = showSuperFormula;
	}

	public void setShowPlanets(boolean showPlanets) {
		this.showPlanets = showPlanets;
	}

}
